﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoAddClient
{
    public class DeviceNameRandService : DotNet.Random.Abstract.StringAbsRandService
    {
        public DeviceNameRandService()
        {
            this.Serial.Clear();
            this.Serial.Add("iPad");
            this.Serial.Add("iPhone");
            this.Serial.Add("iPod touch");
        }

        public override string Rand()
        {
            var res = this.Build.Rand(this.Serial, 1);
            return res.FirstOrDefault();
        }
    }
}
